package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.common.page.CustomBaseMapper;
import com.xinsoft.entity.po.SysNotice;
import com.xinsoft.entity.vo.SysNoticeVo;
import org.apache.ibatis.annotations.Param;

/**
* @author xuhb
* @description 针对表【sys_notice(通知表)】的数据库操作Mapper
* @createDate 2023-04-26 17:17:58
* @Entity com.xinsoft.entity.po.SysNotice
*/
public interface SysNoticeMapper extends BaseMapper<SysNotice> , CustomBaseMapper {
    IPage<SysNoticeVo> selectPageInfo(Page<?> page, @Param(Constants.WRAPPER) Wrapper<?> queryWrapper);

    int unreadCount(@Param(Constants.WRAPPER) Wrapper<?> queryWrapper);
}




